

page { 
    width: 100vw;
    height: 100vh;
    font-family: PingFang SC;
    background: #F2F3F5;
}

view {
    position: relative;
    box-sizing: border-box;
    font-weight: 400;
}

image {
    display: block;
}

.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.justify-between {
    justify-content: space-between;
}

.justify-center {
    justify-content: center;
}

.align-center {
    align-items: center;
}

.grow {
    flex-grow: 1;
}

.min-w-0 {
    min-width: 0;
}

.min-h-0 {
    min-height: 0;
}

.w-full {
    width: 100%;
}

.h-full {
    height: 100%;
}

.bg-white {
    background-color: white;
}

.container {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}


/* 通用箭头图标 */
.navigator-arrow:before,
.navigator-arrow-up:before,
.navigator-arrow-down:before {
    content: '';
    display: inline-block;
    width: 20rpx;
    height: 20rpx;
    border-width: 6rpx 6rpx 0 0;
    border-color: rgba(229, 230, 235, 1);
    border-style: solid;
    position: absolute;
    top: 50%;
    margin-top: -3rpx;
    right: 32rpx;
    cursor: pointer;
}

.navigator-arrow:before {
    transform: matrix(0.71, 0.71, -0.71, 0.71, 0, 0);
}

.navigator-arrow-up:before {
    margin-top: cem(-12);
    transition: transform .2s ease-in-out;
    transform: rotate(315deg);
}

.navigator-arrow-down:before {
    transition: transform .2s ease-in-out;
    transform: rotate(135deg);
}

/**
* 文本省略
*/
.ellipsis {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.ellipsis-2 {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/**
* 列表样式
*/
.TimUi-list {
    .TimUi-list-item {
        display: flex;
        align-items: center;

        .TimUi-list-item-extra {
            position: absolute;
            right: 0;
            top:50%;
            transform: translate(0,-50%);
        }
    }
}


/**
* 按钮样式
*/
$btnColors: (0052D9: #0052D9,D54941:#D54941);
// 遍历颜色集合并生成相应的类
@each $name, $btnColor in $btnColors {
    .TimUi-btn {
        display: inline-block;
        font-size: 32rpx;
        font-weight: 600;
        border-radius: 12rpx;

        &.block {
            display: block;
            width: 100%;
        }

        &.bgc-#{$name} {
            color: white;
            background-color: $btnColor;
        }

        &:active  {
            // transform: scale(.99); 
            background-color: rgba(0,0,0,0.6);
            transition: all .2s;
        }
    }
}

.opreation-group {
  display: flex;
  column-gap: 20rpx;
  margin-bottom: env(safe-area-inset-bottom);
  padding: 32rpx;
}